﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/HeaderFooter.Master" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Web._default" %>
<%@ Register src="Layout/UserControls/ProductsHot.ascx" tagname="ProductsHot" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Contents" runat="server">     
   <uc1:ProductsHot ID="ProductsHot1" runat="server" />    
    <div class="line-back-1000 sanpham-dangky-title">DEAL ALL</div> 
    <div class="fl sanpham-content">
<asp:Repeater ID="rptProduct" runat="server" EnableViewState="false" 
            onitemcommand="rptProduct_ItemCommand">
    <ItemTemplate>
    <div  class="col-left">
            <div class="Tensp"><asp:Label runat="server" ID="lbProductName" EnableViewState="false"  ToolTip='<%#Eval("ProductName") %>'></asp:Label></div>
            <div class="Giaosp">
            <img  src="/images/icont-voucher_03.png" alt=""/><a class="Giaohang"><i>(Giao Hàng)</i></a></div>
            <div class="Anhsp"><%--<img class="Logochuaban" style="width:88px;height:89px" src="/images/chua-ban_11.png" alt=""/>--%>
            <a href="/chi-tiet/<%# Eval("ProductName_Eng")%>.aspx"><asp:Image ID="Image1" runat="server" CssClass="imgSanPham" ImageUrl='<%#Eval("AvatarBig") %>' ToolTip='<%#Eval("ProductName") %>' /></a></div>          
            <div class="Motassp"><asp:Label ID="lblMota"  runat="server" Text=""><%# Eval("Description").ToString()%></asp:Label></div>            
            <div class="cl_5"></div>
            <div class="Khunggia fl">
                <div class="fl">
                    <div class="cl GiaspMoi2" runat="server" id="divGia" visible="false">Giá:<strike><%# String.Format("{0:0,0}",Eval("Price"))%>(VND)</strike></div>
                    <div class="cl GiaspGoc2" style="color:#000;"><asp:Label runat="server" ID="lbgiaban"></asp:Label></div>                                
                    <div class="cl GiaspGoc2" style="color:#C22227;"><%# Eval("DealXu")%> DealXu</div>                    
                    </div>
                </div>
                <div class="btnXem2 fr" style="padding-right:10px;"><a href="/chi-tiet/<%# Eval("ProductName_Eng")%>.aspx">         
                    <img title='<%#Eval("ProductName") %>' src="/images/xem-nho_03.gif" style="border:0px;padding-top:20px;padding-left:20px;" /> </a>                                  
                </div>         
            <div class="cl"></div>             
            <div class="NenXam">
                <div class="Khungthongbao">
                    <div class="Khungtt1 fl"> Tiết Kiệm<br /> <%# Eval("Price_VAT")%> %</div>
                    <div class="Khungtt1 fl">Số người mua<br /><%# Eval("PageViews")%></div>
                    <div class="Khungtt1">Thời gian còn lại <br />
                    <span id="countbox<%#Eval("ProductId") %>"></span>
                    <script type="text/javascript">
                        GetCountTimer(<%#Convert.ToDateTime(Eval("EndDate")).Year %>, <%#Convert.ToDateTime(Eval("EndDate")).Month %>, <%#Convert.ToDateTime(Eval("EndDate")).Day %>, <%#Convert.ToDateTime(Eval("EndDate")).Hour %>, 0, 0, 'countbox<%#Eval("ProductId") %>');
                    </script>
                    
                    </div>
                </div>             
            </div>
            
     </div>
    </ItemTemplate>
</asp:Repeater>
</div>
    <div class="cl"></div>
<div class="line-back-footer100"></div>
<div class="cl_30" style="background:#D5F3FD;"></div>
</asp:Content>


